﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="navigator_edit.aspx.cs" Inherits="WebSite.admin.system.navigator_edit" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>良臣直销网后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />

	<script language="javascript" src="../../js/function.js"></script>
    <link rel="stylesheet" href="../kindEditor/plugins/code/prettify.css" />
   <script charset="utf-8" src="../kindEditor/kindeditor.js"></script>
	<script charset="utf-8" src="../kindEditor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../kindEditor/plugins/code/prettify.js"></script>
    <script>
        KindEditor.ready(function (K) {
            var editor1 = K.create('#txtaContent', {
                cssPath: '../kindEditor/plugins/code/prettify.css',
                uploadJson: '../kindEditor/upload_json.ashx',
                fileManagerJson: '../kindEditor/file_manager_json.ashx',
                allowFileManager: true,
                afterCreate: function () {
                    var self = this;
                    K.ctrl(document, 13, function () {
                        self.sync();
                        K('form[name=form1]')[0].submit();
                    });
                    K.ctrl(self.edit.doc, 13, function () {
                        self.sync();
                        K('form[name=form1]')[0].submit();
                    });
                }
            });
            prettyPrint();
        });
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table width="96%" border="0" cellpadding="3" cellspacing="0">
    <tr style="display:block;">
      <td width="18%" align="right">系统内容：</td>
      <td width="82%" align="left"><asp:DropDownList ID="typeid" runat="server">
                    <asp:ListItem Value="0">顶级信息</asp:ListItem>
                    </asp:DropDownList></td>
    </tr>
    <tr>
      <td width="100px" align="right">名称：</td>
      <td align="left"><input  size="40" name="classname" id="classname" runat="server" /></td>
    </tr>
    <tr>
      <td align="right">链接地址：</td>
      <td align="left"><input size="40" name="classlink" id="classlink" runat="server" /><br />
      <font color=red>备注：当大类选择“顶级信息”，请在“链接路径”输入相对应的路径，或输入“http://  ”，如果不输入系统则默认为 content.aspx (另起新栏目)</font>
      </td>
    </tr>

    <tr>
      <td align="right">排序：</td>
      <td align="left"><input name="classorder" id="classorder" runat="server" value="0" style="width: 114px" /></td>
    </tr>
    <tr>
      <td align="right">是否显示：</td>
      <td align="left"><asp:CheckBox ID="CheckBox1" runat="server" Text="" Checked="True" /></td>
    </tr>
    <!--tr>
      <td align="right">是否新窗口：</td>
      <td align="left"><asp:CheckBox ID="CheckBox2" runat="server" Text="" Checked="True" /></td>
    </tr-->
    <tr>
      <td align="right">位置：</td>
      <td align="left">
      <select name="classpcs" id="classpcs" runat="server">
          <option value="顶部" selected="selected">顶部导航</option>
          <option value="底部">底部导航</option>
          <option value="顶部和底部">顶部和底部导航</option>
      </select>
      </td>
    </tr>
    <tr>
      <td align="right">内容：</td>
      <td align="left">
         <textarea id="txtaContent" cols="100" rows="8"  style="width:100%;height:350px;visibility:hidden;" runat="server"></textarea>
      </td>
    </tr>
    <tr>
      <td align="right">操作设置：</td>
      <td align="left"><asp:CheckBox ID="CheckBox3" runat="server" Text="禁止删除" /></td>
    </tr>
    <tr align="middle">
      <td height="40" colspan="2"><asp:ImageButton ID="ImageButton1" ImageUrl="../images/button02.gif" runat="server" OnClick="ImageButton1_Click" /></td>
    </tr>
  </table></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
